package com.patterns.templatemethod;

/**
 * 开户业务
 * @author huangke
 *
 */
public class OpenAccountBusiness extends BankBusinessTemplate {

	@Override
	public void business() {
		System.out.println("办理开户业务");
	}

}

/**
 * 取款业务
 * @author huangke
 *
 */
class DrawMoneyBusiness extends BankBusinessTemplate{

	@Override
	public void business() {
		System.out.println("办理取款业务");
	}
	
}
